
import * as ActionTypes from '../../../constants/constants.js';
import * as util from '../../../util/utils.js';

// 商家id

export const storeClass = (state = null, action) => {
  switch (action.type) {
    case ActionTypes.GET_SHOP_CLASS:
      return action.data;
    default:
      return state;
  }
};


export const hotStore = (state = null, action) => {
  switch (action.type) {
    case ActionTypes.GET_HOT_STORE:
      return action.data;
    default:
      return state;
  }
};

export const adsList = (state = [], action) => {
  switch (action.type) {
    case ActionTypes.GET_ADS_LIST:
      return action.data;
    default:
      return state;
  }
};

export const tkList = (state = null, action) => {
  switch (action.type) {
    case ActionTypes.GET_USER_TK_QYK:
      return action.data;
    default:
      return state;
  }
};

export const storeListJiaoFei = (state = [], action) => {
  switch (action.type) {
    case ActionTypes.GET_STORE_LIST_JIAOFEI:
      return action.data;
    default:
      return state;
  }
};
// [RNSplashScreen show];
